﻿using FreeSql.DataAnnotations;
using FreeSql.Internal.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shop.Model
{

    public class shopResult: WdtResult
    {
        public List<Wdtshop> shoplist { set; get; }

    }

    public class Wdtshop
    {
        /// <summary>
        /// 主键
        [Column(IsPrimary = true, IsIdentity =true)]
        public int id { set; get; }

        /// <summary>
        /// 平台ID
        /// </summary>
        public int platform_id { set; get; }

        /// <summary> 平台名称 </summary>
        [Column(StringLength =100)]
        public string plat { get; set; }

        /// <summary>
        /// 子平台ID
        /// </summary>
        public int sub_platform_id { set; get; }

        /// <summary> 店铺列表主键 </summary>
        public int shop_id { set; get; }

        /// <summary> 店铺编号 </summary>
        [Column(StringLength =50)]
        public string shop_no { set; get; }


        /// <summary>
        /// 店铺名称
        /// </summary>
        [Column(StringLength = 150)]
        public string shop_name { set; get; }


        /// <summary> 账款账号 </summary>
        [Column(StringLength =100)]
        public string pay_account_id { set; get; }



        /// <summary>  </summary>
        public bool isdel { set; get; }
        public DateTime FTime { get; set; }

        public Wdtshop Clone()
        {
            return this.MemberwiseClone() as Wdtshop;
        }
    }
}
